package com.bdqn.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Phase entity. @author MyEclipse Persistence Tools
 */

public class Phase implements java.io.Serializable {

	// Fields

	private Integer phaseId;
	private Chapter chapter;
	private String phaseName;
	private Integer necessary;
	private String materialFilePath;
	private String description;
	private Set datas = new HashSet(0);

	// Constructors

	/** default constructor */
	public Phase() {
	}

	/** minimal constructor */
	public Phase(Chapter chapter, String phaseName, Integer necessary) {
		this.chapter = chapter;
		this.phaseName = phaseName;
		this.necessary = necessary;
	}

	/** full constructor */
	public Phase(Chapter chapter, String phaseName, Integer necessary,
			String materialFilePath, String description, Set datas) {
		this.chapter = chapter;
		this.phaseName = phaseName;
		this.necessary = necessary;
		this.materialFilePath = materialFilePath;
		this.description = description;
		this.datas = datas;
	}

	// Property accessors

	public Integer getPhaseId() {
		return this.phaseId;
	}

	public void setPhaseId(Integer phaseId) {
		this.phaseId = phaseId;
	}

	public Chapter getChapter() {
		return this.chapter;
	}

	public void setChapter(Chapter chapter) {
		this.chapter = chapter;
	}

	public String getPhaseName() {
		return this.phaseName;
	}

	public void setPhaseName(String phaseName) {
		this.phaseName = phaseName;
	}

	public Integer getNecessary() {
		return this.necessary;
	}

	public void setNecessary(Integer necessary) {
		this.necessary = necessary;
	}

	public String getMaterialFilePath() {
		return this.materialFilePath;
	}

	public void setMaterialFilePath(String materialFilePath) {
		this.materialFilePath = materialFilePath;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set getDatas() {
		return this.datas;
	}

	public void setDatas(Set datas) {
		this.datas = datas;
	}

}